<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .box{
            width: 100px;
            height: 100px;
            border:solid 1px red;
            background-color: orange;
            border-radius: 50%;
            animation: alertnates 1s ease-in-out infinite alternate;
        }

        .box:hover{
            animation-play-state:paused;
        }

        @keyframes alertnates{
            0%{margin-left: 0;}
            100%{margin-left: 200px;}
        }
    </style>
</head>
<body>
    <h1>Animation-direction</h1>
    <ul>
        <li>normal</li>
        <li>reverse</li>
        <li>alternate</li>
        <li>alternate-reverse</li>
    </ul>
    <div class="box" style="transition-timing-function:linear;"></div>

    
</body>
</html>